package com.example.service.product.impl;

import com.example.dao.product.RecordDao;
import com.example.pojo.Record;
import com.example.service.product.RecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RecordServiceImpl implements RecordService {

    @Autowired
    private RecordDao dao;

    @Override
    public Record getRecord(Integer courseId) {
        return dao.getRecord(courseId);
    }
}
